package org.example.module.controller.auth;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 认证出参
 *
 * @author yinjunwu
 */
@ApiModel(value = "登录响应参数", description = "登录响应参数")
@Getter
@Setter
@ToString
public class LoginResp {

    @ApiModelProperty(value = "用户名", name = "userName", example = "jack")
    private String userName;

    @ApiModelProperty(value = "菜单权限", name = "jurisdiction", example = "主页|商品管理")
    private String jurisdiction;

    @ApiModelProperty(value = "注册时间", name = "createTime", example = "1559803939012")
    private String createTime;

    @ApiModelProperty(value = "令牌", name = "token", example = "xxx")
    private String token;

    @ApiModelProperty(value = "刷新令牌", name = "refreshToken", example = "xxx")
    private String refreshToken;
}
